<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#0858A2;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<?php  $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	
</div>
<div class="informemensuales form">
<?php echo $this->Form->create('Informemensuale');?>
	<fieldset>
		<legend><?php __('Editar Informe Mensual'); ?></legend>
		<h4><?php __('Municipio: '.$municipio_datos['Municipio']['nombre']); ?></h4>
		<h4><?php __('A&ntilde;o-Mes: '.$fecha); ?></h4>
		<?php 
			$disable = false;
			//Si es coordinador			
			if($this->Access->getMy('group_id')==2){
				$disable = "disabled";
			}
			
		?>
		<table class="tabla_formulario">		  			
				<?php 
					echo $this->Form->input('user_id',array('type'=>'hidden', 'value'=>$user_id));
			  		echo $this->Form->input('id', array('type'=>'hidden'));
			  	    echo $this->Form->input('mes_ano', array('type'=>'hidden', 'value'=>$fecha));
			  		echo $this->Form->input('municipio_id', array('type'=>'hidden', 'value'=>$municipio_datos['Municipio']['id']));
		  		?>		  	
			<tr>
			    <td><?php echo $this->Form->input('logros', array('disabled'=>$disable));?> </td>
				<td><?php echo $this->Form->input('dificultades', array('disabled'=>$disable)); ?></td>
			</tr>
			<tr>
				<td><?php echo $this->Form->input('proyecciones', array('disabled'=>$disable));?></td>
				<td><?php echo $this->Form->input('seguimientos', array('disabled'=>$disable));?></td>
			</tr>
			<tr>
				<td colspan="2"><?php
					$facilitador = ($this->Access->getMy('group_id')==3)?"disabled":""; 
					echo $this->Form->input('observaciones',array('disabled'=>$facilitador));
					if($disable=="disabled"){
						echo $this->Form->input('aprobador_id', array('type'=>'hidden', 'value'=>$this->Access->getMy('id')));
					}
					?>						
				</td>
			</tr>	      
		</table>
	</fieldset>
	<?php echo $this->Form->end(__('Actualizar', true));?>
</div>